  <p id="wiki_tags">
  <%= label_tag l(:tags), nil, :for => :wiki_page_tag_list  %>
  <%= text_field_tag 'wiki_page[tag_list]', page.tag_list.to_s, :class => 'hol',  :size => 60, :id => :wiki_page_tag_list %>
  </p>
  <div id="wiki_tag_candidates" class="autocomplete"></div>
  <%= stylesheet_link_tag 'jquery.tagit.css', :plugin => 'redmine_tags' %>
  <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
  <%= javascript_include_tag 'tag-it', :plugin => 'redmine_tags' %>
  <%= javascript_tag "$('#wiki_page_tag_list').tagit({
		tagSource: function(search, showChoices) {
		  var that = this;
		  $.ajax({
			url: '#{url_for(:controller => 'auto_completes', :action => 'wiki_tags', :project_id => page.project.id)}',
			data: {q: search.term},
			success: function(choices) {
			  showChoices(that._subtractArray(jQuery.parseJSON(choices), that.assignedTags()));
			}
		  });
		},
	});
" %>
